

${path}

${username}
<script type="text/javascript">

	$("#loginForm").onclick(){
		
		
	}

	var params=$("#userfrm").serialize();
	$.post("${path}", params,function(json){
		if(json.success){
			alert("鏂板鎴愬姛!");
			window.location.href = "${path}/user/index?menuid="+parentid+"&parentid=";
		}else{
			alert(json.message);
		}
	},"json");
</script>

<form id="loginForm" action="user/add" method="get" >

	<input name="username" /> 
	
	<input name="realname" /> 

	<button type="submit"> 提交</button>
</form>